package com.itheima.service.mongo;

import com.itheima.domain.mongo.Video;
import com.itheima.vo.PageBeanVo;

//查询推荐给指定用户的视频
public interface VideoService {
    //查询推荐视频
    PageBeanVo findRecommendVideo(Long userId, Integer pageNum, Integer pageSize);

    //发布视频
    void save(Video video);

    //根据发布用户id查询
    PageBeanVo findByUserId(Long uid, Integer pageNum, Integer pageSize);

    //根据id查询视频
    Video findVideoById(String videoId);
}
